package org.jcc.core.cs.generic.bigger;

public class Bird implements Comparable<Bird>{

	private String length;

	public Bird(String length) {
		this.length = length;
	}

	@Override
	public int compareTo(Bird bird) {
		return length.compareTo(bird.length);
	}
	
	@Override
	public String toString() {
		return length + " bird";
	}

}
